﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OOSync
{
    /// <summary>
    /// 同步队列
    /// </summary>
    public class OOSyncList
    {
        public OOSyncList(SyncObj_Server parent, string listName)
        {
            m_Sync = new OOSync.SyncObj_Server(parent.OwnerDirtyDataDispatcher, parent, null, listName);
        }

         
        public void Remove(SyncObj_Server obj)
        {
            m_Sync.RemoveChild(obj);
        }


        public SyncObj_Server Sync { get { return m_Sync; } } 

        SyncObj_Server m_Sync;
    }
}
